package com.kurtphpr.sistema.java.boiaba;

import org.hibernate.classic.Session;

public class conecta {
	public static void main(String[] args) {
		Session s = null;
		try {
			s = hibernateUtil.getSession().openSession();
			System.out.println("You win");
		}finally{
			s.close();
			System.out.println("desconectado");
		}
	}
}
